package com.zhiqiang.nativeplayer.bean;

/**video dto*/
public class ResourceDto {
    private String name;
    private String url;
    private String serialId;
    private String suffix;
    private ResourceType type;

    public ResourceDto(String name, String url, String serialId, String suffix,ResourceType type){
        this.name = name;
        this.url = url;
        this.serialId = serialId;
        this.suffix = suffix;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString(){
        return "["+name+","+url+","+serialId+"];";
    }

    public String getSerialId() {
        return serialId;
    }

    public void setSerialId(String serialId) {
        this.serialId = serialId;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public ResourceType getType() {
        return type;
    }
}
